﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Plateforme_Stockage/PlateformeStockage.Master" AutoEventWireup="true" CodeBehind="StockPicking.aspx.cs" Inherits="DevelopmentPFR.Plateforme_Stockage.StockPicking" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenu" runat="server">
    <!-- Permet d'ouvrir l'image des stocks -->
    <div class="row">
        <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-body">
                        <img src="../App_Themes/theme/Images/Plateforme.jpg" width="1000px">
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <br/>
    <br/>


    <div class="row">
        <asp:GridView 
            runat="server"
            ID="ListeStockPicking"
            CssClass="table table-bordered table-responsive" 
            AlternatingRowStyle-BackColor="#D7D7D7" 
            HeaderStyle-BackColor="#B0C1D0"
            AutoGenerateColumns="False"
            OnRowDataBound="afficherImageStock_OnRowDataBound"
            >
            <Columns>
                <asp:BoundField DataField="ReferenceArticle" HeaderText="Ref. Article" />
                <asp:BoundField DataField="DesignationArticle" HeaderText="Designation" />
                <asp:BoundField DataField="QuantitePicking" HeaderText="Quantite" />
                <asp:BoundField DataField="QuantiteGeneral" HeaderText="Quantite Stock General" />
                <asp:BoundField DataField="PrixHT" HeaderText="Prix HT" />
                <asp:BoundField DataField="Emplacement" HeaderText="Emplacement" />  
                <asp:TemplateField>
                    <ItemTemplate>
                            <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">Navigation Stock</button>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
